package com.cooldatasoft.domain.service;

import java.util.List;

import com.cooldatasoft.domain.model.Project;
import com.cooldatasoft.domain.model.Task;
import com.cooldatasoft.domain.model.User;

public interface TaskService {
	
	Long insertTask(Task task);

	void updateTask(Task task);
	
	void deleteTask(Long taskId);

	List<Task> getAllTask();
	
	List<Task> getTasksToProject(Project project);
	
	Task getById(Long id);
	
	List<Task> getTasksToUser(User user);
	
	List<Task> getTasksOnProjectWithUser(User user, Project project);

	List<Task> getTasksByTaskStatusOnProject(String taskStatus,Project project);
}
